module.exports = (app) => {
  const auth = app.middleware.auth();
  // 收藏模块-------------------------------------------------------------
  app.router.post('/api/collect/create',auth, app.controller.collect.create); 
  app.router.post('/api/collect/info',auth, app.controller.collect.info);  
  app.router.post('/api/collect/list',auth, app.controller.collect.list);  
  app.router.post('/api/collect/edit',auth, app.controller.collect.edit);  
  app.router.post('/api/collect/cancel',auth, app.controller.collect.cancel);  
};
